<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<%@page import="java.util.*,model.*"%>

<html>
	<body>
	<%String user = request.getUserPrincipal().getName(); %>
		<p>Hello <b><%= user %></b>!		<a href="../invalidate.jsp">logout</a></p>
		<br/>
		Application Status: <%=Database.getAppStatus(Database.getIdByUsername(user))%><br/>
		
		Application
		<hr>
		<%=Applicant.printApplicant(Database.getApplicantById(Database.getIdByUsername(user)))%>
		<br>
		Degrees
		<hr>
		<%=Database.printDegrees(Database.getDegrees(Database.getIdByUsername(user)))%>
	</body>
</html>
